﻿namespace IDAL
{
    public interface IMemberDAL<T>
    {
        Task<int> AddAsync(T t);
        Task<int>AddRangeAsync(List<T> list);
        Task<int> UpdateAsync(T t);
        Task<int> UpdateRangeAsync(List<T> list);
        Task<int> DeleteAsync(T t);
        Task<int> DeleteRangeAsync(List<T> list);
        IQueryable<T> GetAllMember();
    }
}
